Optimal. Leaf size=24 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {211}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rubi steps
\begin {align*} \int \frac {1}{a+c x^2} \, dx &=\frac {\tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 24, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 16, normalized size = 0.67
method | result | size |
default | \(\frac {\arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}}\) | \(16\) |
risch | \(-\frac {\ln \left (c x +\sqrt {-a c}\right )}{2 \sqrt {-a c}}+\frac {\ln \left (-c x +\sqrt {-a c}\right )}{2 \sqrt {-a c}}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 15, normalized size = 0.62 \begin {gather*} \frac {\arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.75, size = 67, normalized size = 2.79 \begin {gather*} \left [-\frac {\sqrt {-a c} \log \left (\frac {c x^{2} - 2 \, \sqrt {-a c} x - a}{c x^{2} + a}\right )}{2 \, a c}, \frac {\sqrt {a c} \arctan \left (\frac {\sqrt {a c} x}{a}\right )}{a c}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs.
\(2 (22) = 44\).
time = 0.05, size = 53, normalized size = 2.21 \begin {gather*} - \frac {\sqrt {- \frac {1}{a c}} \log {\left (- a \sqrt {- \frac {1}{a c}} + x \right )}}{2} + \frac {\sqrt {- \frac {1}{a c}} \log {\left (a \sqrt {- \frac {1}{a c}} + x \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.44, size = 15, normalized size = 0.62 \begin {gather*} \frac {\arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 16, normalized size = 0.67 \begin {gather*} \frac {\mathrm {atan}\left (\frac {\sqrt {c}\,x}{\sqrt {a}}\right )}{\sqrt {a}\,\sqrt {c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________